package com.bean;

public class Product {
    private int ProductID;
    private int ProductCategoryID;
    private int FarmerID;
    private String ProductName;
    private Double Price;
    private String ImagePath;
    private String Description;

    public Product() {
    }

    public Product(int productID, int productCategoryID, int farmerID, String productName, Double price, String imagePath, String description) {
        ProductID = productID;
        ProductCategoryID = productCategoryID;
        FarmerID = farmerID;
        ProductName = productName;
        Price = price;
        ImagePath = imagePath;
        Description = description;
    }

    public int getProductID() {
        return ProductID;
    }

    public void setProductID(int productID) {
        ProductID = productID;
    }

    public int getProductCategoryID() {
        return ProductCategoryID;
    }

    public void setProductCategoryID(int productCategoryID) {
        ProductCategoryID = productCategoryID;
    }

    public int getFarmerID() {
        return FarmerID;
    }

    public void setFarmerID(int farmerID) {
        FarmerID = farmerID;
    }

    public String getProductName() {
        return ProductName;
    }

    public void setProductName(String productName) {
        ProductName = productName;
    }

    public Double getPrice() {
        return Price;
    }

    public void setPrice(Double price) {
        Price = price;
    }

    public String getImagePath() {
        return ImagePath;
    }

    public void setImagePath(String imagePath) {
        ImagePath = imagePath;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    @Override
    public String toString() {
        return "Product{" +
                "ProductID=" + ProductID +
                ", ProductCategoryID=" + ProductCategoryID +
                ", FarmerID=" + FarmerID +
                ", ProductName='" + ProductName + '\'' +
                ", Price=" + Price +
                ", ImagePath='" + ImagePath + '\'' +
                ", Description='" + Description + '\'' +
                '}';
    }
}
